# coding: utf-8
# 19-11-8 下午2:46


def prepare_range_value(value):
    '''
    处理数值range筛选，start or end为空的情况
    :param value:
    :return:
    '''
    value = value.strip()
    if value.startswith(','):
        value = '0' + value
    if value.endswith(','):
        value = value + '100000000'
    return value
